package com.example.demo.test.myThread;

public class ThreadTest2 implements Runnable{
    @Override
    public void run() {
        try {
            Thread.sleep(3000);
            System.out.println("2被执行");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
